<?php
namespace Mobile\Controller;
class ImageController extends PublicController{
	function list(){
		$this->image();

		$this->display();
	}
	function image(){
		$imgOb = M("Img");
		$arr = $imgOb->where("fid=12")->limit(10)->select();
		$this->assign('arr',$arr);
	}
    function f_zhongshi(){
        $imgOb = M("Img");
        $arr = $imgOb->where("fid=2")->limit(10)->select();
        $this->assign('arr',$arr);
        $this->display();
    }
    function f_oushi(){
        $imgOb = M("Img");
        $arr = $imgOb->where("fid=3")->limit(10)->select();
        $this->assign('arr',$arr);
        $this->display();
    }
    function f_meishi(){
        $imgOb = M("Img");
        $arr = $imgOb->where("fid=4")->limit(10)->select();
        $this->assign('arr',$arr);
        $this->display();
    }
    function f_xingudian(){
        $imgOb = M("Img");
        $arr = $imgOb->where("fid=6")->limit(10)->select();
        $this->assign('arr',$arr);
        $this->display();
    }
    function f_tianyuan(){
        $imgOb = M("Img");
        $arr = $imgOb->where("fid=5")->limit(10)->select();
        $this->assign('arr',$arr);
        $this->display();
    }
    function f_dizhonghai(){
        $imgOb = M("Img");
        $arr = $imgOb->where("fid=7")->limit(10)->select();
        $this->assign('arr',$arr);
        $this->display();
    }
	function deatil(){
		$deatilOb = M("Img");
		$id=$_GET["id"];
		$arr = $deatilOb->where("id=$id")->find();
		$this->assign('arr',$arr);
		$this->display();
	}
	function jubu(){
        $imgOb = M("Img");
        $arr = $imgOb->where("sid=11")->limit(10)->select();
        $this->assign('arr',$arr);
        $this->display();
    }
    function j_canting(){
        $imgOb = M("Img");
        $arr = $imgOb->where("sid=1")->limit(10)->select();
        $this->assign('arr',$arr);
        $this->display();
    }
    function j_woshi(){
        $imgOb = M("Img");
        $arr = $imgOb->where("sid=2")->limit(10)->select();
        $this->assign('arr',$arr);
        $this->display();
    }
    function j_chufang(){
        $imgOb = M("Img");
        $arr = $imgOb->where("sid=3")->limit(10)->select();
        $this->assign('arr',$arr);
        $this->display();
    }
    function j_weiyujian(){
        $imgOb = M("Img");
        $arr = $imgOb->where("sid=4")->limit(10)->select();
        $this->assign('arr',$arr);
        $this->display();
    }
    function j_shufang(){
        $imgOb = M("Img");
        $arr = $imgOb->where("sid=5")->limit(10)->select();
        $this->assign('arr',$arr);
        $this->display();
    }
    function j_xuanguan(){
        $imgOb = M("Img");
        $arr = $imgOb->where("sid=6")->limit(10)->select();
        $this->assign('arr',$arr);
        $this->display();
    }
    function j_ertongfang(){
        $imgOb = M("Img");
        $arr = $imgOb->where("sid=7")->limit(10)->select();
        $this->assign('arr',$arr);
        $this->display();
    }
    function j_yangtai(){
        $imgOb = M("Img");
        $arr = $imgOb->where("sid=8")->limit(10)->select();
        $this->assign('arr',$arr);
        $this->display();
    }
    function j_yimaojian(){
        $imgOb = M("Img");
        $arr = $imgOb->where("sid=9")->limit(10)->select();
        $this->assign('arr',$arr);
        $this->display();
    }
    function j_beijingqiang(){
        $imgOb = M("Img");
        $arr = $imgOb->where("sid=10")->limit(10)->select();
        $this->assign('arr',$arr);
        $this->display();
    }

}